
<template>
  <view v-html="html"></view>

  
</template>

<script setup>
import { getCopywritingDetail } from "@/services/vip";
import { onShow } from "@dcloudio/uni-app";
import { ref } from "vue";
import privacyPopup from "@/components/privacy-popup";

const html = ref("");

onShow(async () => {
  getHtml();
  getApp().accessLogAdd();
});

const getHtml = async () => {
  const res = await getCopywritingDetail("return_policy");
  if (res?.code === 200) {
    html.value = res.data.value;
  }
};
</script>
<style lang="less" scoped>
</style>
